package com.situ.object.common;

import java.util.List;

/*
page 类记录分页的页数
count：记录所有数据的总数
list：记录当前页的数据数
* */
public class Page {
    private Long count; //记录总数
    private List list;  //当前页的集合

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Page{" +
                "count=" + count +
                ", list=" + list +
                '}';
    }
}
